package com.zhousoft.blog.dao;

import java.util.List;

import org.freeocs.commons.db.QueryHelper;

import com.zhousoft.blog.entity.Categories;

public class CategoriesDao {
	public static List<Categories> categories(){
		return QueryHelper.query(Categories.class, "select * from freeocs_categories order by cateorder");
	}
}
